const getters = {
  sidebar: state => state.app.sidebar,
  size: state => state.app.size,
  device: state => state.app.device,
  visitedViews: state => state.tagsView.visitedViews,
  cachedViews: state => state.tagsView.cachedViews,
  token: state => state.user.token,
  permission_routes: state => state.permission.routes,
  errorLogs: state => state.errorLog.logs,
  userContext: state => state.user.usercontex,
  avatar: state => state.user.avatar,
  roles: state => state.user.roles,
  choicedLive: state => state.lives.choicedLive,
  // 是否刷新直播数据
  isRefresh: state => state.lives.isRefresh
}
export default getters
